from datetime import datetime
from uuid import uuid4


def temp_filename(prefix: str, ext: str = ".wav") -> str:
    return f"tts-{prefix}-{datetime.now().strftime('%Y%m%d-%H%M%S')}-{uuid4().hex}{ext}"
